//
//  ACWAccountsView.m
//  pickerView
//
//  Created by rylynn lai on 15/10/13.
//  Copyright © 2015年 rylynn lai. All rights reserved.
//

#import "ACWAccountsView.h"
#import "ACWAccount.h"

@interface ACWAccountsView ()
@property (weak, nonatomic) IBOutlet UILabel *accountLable;
@property (weak, nonatomic) IBOutlet UILabel *typeLable;
@end

@implementation ACWAccountsView

+ (instancetype)accountsView{
    return [[[NSBundle mainBundle] loadNibNamed:@"ACWAccountsView" owner:nil options:nil] firstObject];
}

- (void)setAccount:(ACWAccount *)accountModel {
    _account = accountModel;
    _accountLable.text = accountModel.account;
    _typeLable.text = accountModel.accountType;
}

@end
